﻿@{
    ViewBag.Title = "Lấy lại mật khẩu";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@section StylesheetBinding
{    
    <link rel="stylesheet" type="text/css" href="/Content/site.css" />        
}
<div id="registerForm">
<form class="form" action="/forgotpassword" method="post" enctype="multipart/form-data">
    
        <h2>Lấy lại mật khẩu hệ thống vinaglue.com</h2>
	    <div class="title">
		    <h3>Thông tin tài khoản</h3>
	    </div>
	    <div class="error-msg" data-bind="visible: validateForm" >
		    <span class="error">Xin hãy nhập thông tin bên dưới chính xác.</span>
	    </div>		
        @if (!string.IsNullOrEmpty(ViewBag.ErrorMessage))
        {
	        <div class="error-msg">
		        <span class="error">@ViewBag.ErrorMessage</span>
	        </div>	
        }			

        <div class="columns">
            <div class="col" style="width:560px">
                <div class="row">
                    <label for="Email">Địa chỉ e-mail <br><span style="font-weight:normal;" class="lightgray">Là tên đăng nhập</span></label>
                    <input type="text" class="text" id="Email" name="Email" maxlength="150" data-bind="value: Email" />
                </div>
                <div class="row">          
                    <label><span>&nbsp;&nbsp;</span></label>
                    <div class="groupinput">   
                        <input type="submit" class="submit-btn" value="Lấy mật khẩu" data-bind="click: SubmitForm" />
                    </div>
                </div>
            </div>
        </div>
</form>
    </div>
@section DataBinding
{    
    <script src="/Scripts/Library/knockout.js" type="text/javascript"></script>
    <script src="/Scripts/Library/knockoutvalidation.js" type="text/javascript"></script>
    <script src="/Scripts/Client/forgotViewModel.js" type="text/javascript"></script>
}
